package com.xsp.exception;

/**
 * @author xsp
 * @date 2024/2/20
 * @desc 自定义异常处理器
 */
public class MyException extends Exception {
    public MyException(String message) {
        super("发生自定义异常：" + message);
    }

    public MyException(String message, Throwable cause) {
        super("发生自定义异常：" + message, cause);
    }
}
